<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class PositionMonthTargetItem extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'position_month_target_items';

    protected $fillable = [
        'position_month_target_id',
        'vin_code',
        'user_name',
        'user_id',
        'score',
        'items'
    ];

    public function positionMonthTarget()
    {
        return $this->belongsTo(PositionMonthTarget::class);
    }
}
